-- GENERATED SPELL FOR [Bloodpetal Lasher] --


function spell0_6509(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(6607,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6509', 1000, 1)
end

function Sorts_6509(pUnit, Event)
local choix_sorts_6509 = math.random(0, 0)
if choix_sorts_6509 == 0 then
pUnit:RegisterEvent('spell0_6509', 1, 1)
end
end

function mob6509_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6509', math.random(1500, 3000), 1)
end

function mob6509_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6509_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6509_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6509, 1, 'mob6509_Action')
RegisterUnitEvent(6509, 2, 'mob6509_Leave')
RegisterUnitEvent(6509, 3, 'mob6509_Kill')
RegisterUnitEvent(6509, 4, 'mob6509_Die')
